<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Orders
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property string|null $seller_nick 卖家昵称
 * @property string $pic_path 商品图片路径
 * @property float $payment 交易金额
 * @property int $seller_rate 卖家是否评价
 * @property float $post_fee 邮费
 * @property string|null $receiver_name 收货人名称
 * @property string|null $receiver_state 收货人省份
 * @property string|null $receiver_town 收货人街道地址
 * @property string|null $receiver_address 收货人详细地址
 * @property string|null $receiver_zip 收货人邮编
 * @property string|null $receiver_mobile 收货人手机号
 * @property string|null $receiver_phone 收货人电话号
 * @property string|null $consign_time 卖家发货时间
 * @property float $received_payment 卖家实际收到的金额
 * @property string|null $tid 交易编号
 * @property int|null $num 交易数量
 * @property string|null $num_iid 商品数字编号
 * @property string|null $status 状态
 * @property string|null $title 交易标题
 * @property string|null $type 交易类型
 * @property float $price 商品价格
 * @property float $total_fee 商品总金额
 * @property float $discount_fee 商品优惠价格
 * @property int $has_post_fee 是否包邮
 * @property string|null $created 订单创建时间
 * @property string|null $pay_time 订单支付时间
 * @property string|null $modified 交易修改时间
 * @property string|null $end_time 交易结束时间
 * @property string|null $buyer_message 买家留言
 * @property string|null $buyer_memo 买家备注
 * @property string|null $buyer_nick 买家昵称
 * @property string|null $receiver_city 收件人所在城市
 * @property string|null $receiver_district 收件人所在地区
 * @property string|null $delivery_time 发货时间
 * @property string|null $collect_time 揽收时间
 * @property string|null $dispatch_time 派送时间
 * @property string|null $sign_time 签收时间
 * @property string|null $from_type 会员来源
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @property string|null $deleted_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Orders onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereBuyerMemo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereBuyerMessage($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereBuyerNick($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCollectTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereConsignTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCreated($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereDeliveryTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereDiscountFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereDispatchTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereFromType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereHasPostFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereModified($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereNumIid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePayment($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePicPath($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePostFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceivedPayment($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverCity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverDistrict($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverMobile($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverPhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverTown($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereReceiverZip($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereSellerNick($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereSellerRate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereSignTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereTid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereTotalFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Orders withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Orders withoutTrashed()
 * @mixin \Eloquent
 * @property int $vip_id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Orders whereVipId($value)
 */
class Orders extends Model
{
    protected $table = "orders";
    use SoftDeletes;
}